Optimal. Leaf size=353 \[ \frac {3 \tan (c+d x) (a \sec (c+d x)+a)^{2/3}}{5 d}+\frac {3 \tan (c+d x) (a \sec (c+d x)+a)^{2/3}}{5 d (\sec (c+d x)+1)}-\frac {3^{3/4} \tan (c+d x) \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right ) \sqrt {\frac {(\sec (c+d x)+1)^{2/3}+\sqrt [3]{2} \sqrt [3]{\sec (c+d x)+1}+2^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} (a \sec (c+d x)+a)^{2/3} F\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{5 \sqrt [3]{2} d (1-\sec (c+d x)) (\sec (c+d x)+1) \sqrt {-\frac {\sqrt [3]{\sec (c+d x)+1} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.35, antiderivative size = 353, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3798, 3828, 3827, 50, 63, 225} \[ \frac {3 \tan (c+d x) (a \sec (c+d x)+a)^{2/3}}{5 d}+\frac {3 \tan (c+d x) (a \sec (c+d x)+a)^{2/3}}{5 d (\sec (c+d x)+1)}-\frac {3^{3/4} \tan (c+d x) \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right ) \sqrt {\frac {(\sec (c+d x)+1)^{2/3}+\sqrt [3]{2} \sqrt [3]{\sec (c+d x)+1}+2^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} (a \sec (c+d x)+a)^{2/3} F\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{5 \sqrt [3]{2} d (1-\sec (c+d x)) (\sec (c+d x)+1) \sqrt {-\frac {\sqrt [3]{\sec (c+d x)+1} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 225
Rule 3798
Rule 3827
Rule 3828
Rubi steps
\begin {align*} \int \sec ^2(c+d x) (a+a \sec (c+d x))^{2/3} \, dx &=\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d}+\frac {2}{5} \int \sec (c+d x) (a+a \sec (c+d x))^{2/3} \, dx\\ &=\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d}+\frac {\left (2 (a+a \sec (c+d x))^{2/3}\right ) \int \sec (c+d x) (1+\sec (c+d x))^{2/3} \, dx}{5 (1+\sec (c+d x))^{2/3}}\\ &=\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d}-\frac {\left (2 (a+a \sec (c+d x))^{2/3} \tan (c+d x)\right ) \operatorname {Subst}\left (\int \frac {\sqrt [6]{1+x}}{\sqrt {1-x}} \, dx,x,\sec (c+d x)\right )}{5 d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{7/6}}\\ &=\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d}+\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d (1+\sec (c+d x))}-\frac {\left ((a+a \sec (c+d x))^{2/3} \tan (c+d x)\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x} (1+x)^{5/6}} \, dx,x,\sec (c+d x)\right )}{5 d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{7/6}}\\ &=\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d}+\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d (1+\sec (c+d x))}-\frac {\left (6 (a+a \sec (c+d x))^{2/3} \tan (c+d x)\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {2-x^6}} \, dx,x,\sqrt [6]{1+\sec (c+d x)}\right )}{5 d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{7/6}}\\ &=\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d}+\frac {3 (a+a \sec (c+d x))^{2/3} \tan (c+d x)}{5 d (1+\sec (c+d x))}-\frac {3^{3/4} F\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) (a+a \sec (c+d x))^{2/3} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt {\frac {2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{5 \sqrt [3]{2} d (1-\sec (c+d x)) (1+\sec (c+d x)) \sqrt {-\frac {\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.15, size = 85, normalized size = 0.24 \[ \frac {\tan (c+d x) (a (\sec (c+d x)+1))^{2/3} \left (4 \sqrt [6]{2} \, _2F_1\left (-\frac {1}{6},\frac {1}{2};\frac {3}{2};\frac {1}{2} (1-\sec (c+d x))\right )+3 (\sec (c+d x)+1)^{7/6}\right )}{5 d (\sec (c+d x)+1)^{7/6}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.78, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {2}{3}} \sec \left (d x + c\right )^{2}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {2}{3}} \sec \left (d x + c\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.64, size = 0, normalized size = 0.00 \[ \int \left (\sec ^{2}\left (d x +c \right )\right ) \left (a +a \sec \left (d x +c \right )\right )^{\frac {2}{3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {2}{3}} \sec \left (d x + c\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{2/3}}{{\cos \left (c+d\,x\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a \left (\sec {\left (c + d x \right )} + 1\right )\right )^{\frac {2}{3}} \sec ^{2}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________